package com.sina.shop.dao.business;

import com.sina.shop.core.BaseDao;
import com.sina.shop.domain.business.Business;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description: 商店管理
 * 段浩杰   2018-02-05-10:27
 */
public interface BusinessDao extends BaseDao {

    /*根据id标记性删除商店*/
    Integer deleteBusinessTab(Long id);

    //根据用户id得到商店
    List<Business> getBusinessByAdminId(Long adminId);

    List<Business> getBusinessList(Business business);

    Long getBusinessCount(Business business);
}
